function [ average ] = averageResult( results )
%Returns averaged results, first 2 dimensions are result, dimension 3 is
%result index

    average = sum(results, 3) ./ size(results,3);
end

